// 开发环境接口配置
// const APIURl = 'http://127.0.0.1:30000/'

// JAVA Boot版本对应后端接口地址
//const APIURl = 'http://127.0.0.1:8098/'
// 开发环境接口配置
// const APIURl = 'http://101.36.139.249:30000'
const APIURl = 'http://localhost:30000'
module.exports = {
  APIURl: APIURl,
  timeout: 1000000,//process.env.NODE_ENV === 'development' ? 10000 : 1000000,
  WebSocketUrl: process.env.NODE_ENV === 'development' ? APIURl.replace('http', 'ws') + '/api/message/websocket' : process.env.VUE_APP_BASE_WSS,
  comUploadUrl: process.env.VUE_APP_BASE_API + '/api/file/Uploader',
  comUrl: process.env.VUE_APP_BASE_API,

  // 本地文件预览(nginx)
  filePreviewServer: process.env.NODE_ENV === 'development' ? 'http://localhost:30090' : process.env.VUE_APP_BASE_API + '/FileServer',

  // 大屏应用前端路径(nginx)
  dataV: process.env.NODE_ENV === 'development' ? 'http://localhost:8100/DataV' : process.env.VUE_APP_BASE_API + '/DataV',

  // 数据报表接口(nginx)
  reportServer: process.env.NODE_ENV === 'development' ? 'http://localhost:30007' : process.env.VUE_APP_BASE_API + '/ReportServer',

  // 报表前端(nginx)
  report: process.env.NODE_ENV === 'development' ? 'http://localhost:8200' : process.env.VUE_APP_BASE_API + '/Report',

  version: '1.0.1'

}
